#ifndef MACHINING_CENTER_COMMAND_DATABASE_H
#define MACHINING_CENTER_COMMAND_DATABASE_H

#include "cmddb.h"

class MachiningCenterCmdDB : public CommandDatabase  
{
	bool isEnglishFormat_;
	static WordFormat wfCommandFormat_[];
	class CommandFormatData {
		Word word_;
		char *format_;
	public:
		CommandFormatData(Word word, char *format) : word_(word), format_(format) { }
	};
	static CommandFormatData cfdParameter_[];
public:
	MachiningCenterCmdDB();
	virtual WordFormat *isCommandAddress(Word word);
	virtual CommandFormat getCommandFormat(Word word);
	virtual void useMetricFormat();
	virtual void useEnglishFormat();
};

#endif
